spring.main.banner-mode=off
server.port=${SERVER.PORT:8082}

logging.level.root=${LOG_LEVEL_ROOT:INFO}
logging.level.ru.bytedog.oiot.counter.bot=${LOG_LEVEL_SERVICE:DEBUG}
logging.file.path=${LOG_PATH:logs}

springdoc.show-actuator=${ACTUATOR:true}
springdoc.swagger-ui.enabled=${SWAGGER:true}
springdoc.use-management-port=${USE_MANAGEMENT_PORT:true}

management.endpoints.web.exposure.include=${MANAGEMENT_ENDPOINTS:health,loggers,metrics,openapi,swagger-ui}
management.server.port=${MANAGEMENT_PORT:9090}
management.endpoint.health.show-details=always

spring.datasource.url=jdbc:h2:file:./data/oiot_bot_db
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=oiot_bot_user
spring.datasource.password=${BD_PASSWORD}
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.jpa.hibernate.ddl-auto=update

telegram.botToken=${BOT_TOKEN}
telegram.botName=${BOT_NAME:oiot_counter_bot}
telegram.service.users=${BOT_SERVICE_USERS:}
